package com.ss.android.wenda.a;

import android.view.View;
import android.widget.TextView;
import com.ss.android.k.dd;
import com.ss.android.wenda.answer.detail2.WDFontUtils.FontViewType;
import com.ss.android.wenda.answer.detail2.WDFontUtils;
import com.ss.android.wenda.model.Answer;

final class b extends dd {
    private final a c;

    b(com.ss.android.wenda.a.a arg1) {
        this.c = arg1;

    }

    public final void a(Object arg6) {
        if((arg6 instanceof Answer)) {
            View v0 = this.c().a;
            a v2 = this.c;
            int v1 = a.a(this.c) <= 0 ? this.c.getCount() : a.a(this.c);
            a.a(v2, v1);
            StringBuilder v2_1 = new StringBuilder().append(a.a(this.c));
            i v1_1 = a.b(this.c);
            String v1_2 = v1_1.a == null ? "个回答" : v1_1.a.optString("list_section_title_text", "个回答");
            ((TextView)v0).setText(v2_1.append(v1_2).toString());
            WDFontUtils.a(v0, FontViewType.ANSWER_NUM);
        }
    }
}

